package mspbots.cw.business.core.activities;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author AlexBob
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table("cw_activities")
public class Activity implements Serializable {

    @Id
    protected Long id;
    private Long tenantCode;
    private Long cwId;
    private String name;
    private Long statusId;
    private String statusName;
    private Long companyId;
    private String companyName;
    private String companyIdentifier;
    private Long contactId;
    private String contactName;
    private String updatedBy;
    private LocalDateTime dateStart;
    private LocalDateTime dateEnd;
    private LocalDateTime lastUpdatedTime;
    private LocalDateTime syncTime;
    private Long typeId;
    private String typeName;
    private Long assignToId;
    private String assignToName;

}
